package com.mars.basic.factory;

import com.mars.basic.allmain.dto.AdminUserDto;
import com.mars.basic.allmain.entity.AdminUserEntity;
import com.mars.basic.allmain.vo.AdminUserVo;
import com.mars.common.utils.Beans;

public  class  AdminUserFac {
      public static AdminUserEntity toEntity(AdminUserVo vo){
          return Beans.mapper(vo,AdminUserEntity.class);
      }

      public static AdminUserDto toDto(AdminUserEntity e){
          return Beans.mapper(e,AdminUserDto.class);
      }
}
